<!DOCTYPE html>
<!-- saved from url=(0037)http://127.0.0.1/wx/ybss/zhuce/zc.jsp -->
<html class="pixel-ratio-1">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <title>银联二维码支付</title>

  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no, email=no">
  <!--[if IE]>
  <script src="http://127.0.0.1:80/wx/ybss/js/html5shiv.min.js"></script>
  <![endif]-->

  <link href="../resource/style.css" rel="stylesheet" type="text/css">


  <script src="../resource/md5.js"></script>
  <script src="../resource/jquery-2.1.4.js"></script>
  <script src="../resource/fastclick.js"></script>
  <script src="../resource/jquery-weui.js"></script>
  <script src="../resource/zepto.min.js">
  </script><script src="../resource/picker.js"></script>
  <script src="../../script/api.js"></script>
  <script>

   
  </script>

  <style>
    .logo-license{margin-top:0px;}
    .left{font-weight:bold;}
    .info {margin-top: 7rem;border-width:0px;}
	.info ul{margin-top:1rem;}
	.info ul li{border-width:0px;background-color:#FFF;margin-top:1rem;height:32%;width:96%;border-radius: 5px;text-align:center;font-size:20px;line-height:40px;}
	html,.info{height:100%;}
	.info ul{height:95%;}
	.info ul li div{width:80px;height:80px;background:blue;clear: both;margin:0 auto;border-radius: 40px;color:#FFF;line-height:75px;text-align:center;font-size:28px;}


  </style>

</head>
<body style="background:#18b4ed;height:88%;">
<header>
<img src="../../image/back.png" onclick="api.closeWin();" />
<span style="text-align: center;width: 80%;margin: 0 auto;">银联二维码支付</span>
	<img src="../../image/yhk.png" onclick="ylcard();" />
  <div style="clear:both"></div>
</header>


  <article class="info">
    <ul>

      <li onclick="scannerYl()">
        <div style="background:#18b4ed;" >扫</div>
		扫一扫
      </li>
     
	   <li onclick="wyfk()">
        <div style="background:#f3c824;">收</div>
		我要收款
      </li>

	  <li onclick="xshfk()">
        <div style="background:#18b525;">付</div>
		向商户付款
      </li>
	 

    </ul>
  </article>


<script>


	apiready = function(){
	var loginid = $api.getStorage("loginid");
		
	}
	
	function scannerYl(){
	var FNScanner = api.require('FNScanner');
		FNScanner.openScanner({
		    autorotation: true
		}, function(ret, err) {
		    if (ret.eventType=="success") {
					api.openWin({
					    name: 'ylpay',
					    url: 'ylpay.html',
					    pageParam: {
					        name: 'test'
					    }
					});

		    }
		});
	}
	
	function wyfk(){
		$api.setStorage("je","-1");
		
		api.openWin({
	        name: 'wyfk',
	        url: 'wyfk.html'
        });
	}
	
	function ylcard(){
		api.openWin({
	        name: 'main',
	        url: 'card_list.html'
        });
	}
	
	function xshfk(){
		api.openWin({
	        name: 'main',
	        url: 'xshfk.html'
        });
	}

</script>
	

</body></html>